﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace DOTNET_ASSIGNMENT.Models
{
    public partial class File
    {
        [Key]
        public int ID { get; set; }

        [Required]
        [Display(Name = "Owner")]
        public string CustomerEmail { get; set; }

        [Required]
        [Display(Name = "Name")]
        public string DisplayName { get; set; }

        [Display(Name = "Size")]
        public string Size { get; set; }


        [Display(Name = "Date")]
        public string Date { get; set; }

        [Display(Name = "Extension")]
        public string Extension { get; set; }

        [Display(Name = "Download")]
        public string URL { get; set; }

        [Display(Name = "Blocked")]
        public bool IsBlocked { get; set; }

        public virtual Customer Customer { get; set; }
    }
}